﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Plexi
{
	public class RockRandomization
	{		
		public double LatitudeSelector { get; private set; }
		public double LongitudeSelector { get; private set; }
		public double ScaleModifier { get; private set; }
		public double MovabilitySelector { get; private set; }
		public double TextureIndexSelector { get; private set; }
		public double ProminentRockChoice { get; private set; }
		public int RotationDegrees { get; private set; }
		public int RockTypeSelector { get; private set; }

		public void Set(System.Random r, int prefabCount)
		{
			LatitudeSelector = r.NextDouble();
			LongitudeSelector = r.NextDouble();
			ScaleModifier = r.NextDouble();
			MovabilitySelector = r.NextDouble();
			TextureIndexSelector = r.NextDouble();
			ProminentRockChoice = r.NextDouble();
			RotationDegrees = r.Next(360);
			RockTypeSelector = r.Next(100);
		}
	}
}
